package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房间管理对象 room
 * 
 * @author zdk
 * @date 2025-05-12
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String name;

    /** 图片URL */
    private String imageUrl;

    /** 每小时价格 */
    @Excel(name = "每小时价格")
    private BigDecimal hourlyPrice;

    /** 包间时长 */
    @Excel(name = "包间时长")
    private Long packageHours;

    /** 包间价格 */
    @Excel(name = "包间价格")
    private BigDecimal packagePrice;

    /** 房间状态 */
    @Excel(name = "房间状态")
    private String status;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 房间类型(0小包/1中包/2大包/3豪华包） */
    @Excel(name = "房间类型(0小包/1中包/2大包/3豪华包）")
    private Long roomType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setHourlyPrice(BigDecimal hourlyPrice) 
    {
        this.hourlyPrice = hourlyPrice;
    }

    public BigDecimal getHourlyPrice() 
    {
        return hourlyPrice;
    }

    public void setPackageHours(Long packageHours) 
    {
        this.packageHours = packageHours;
    }

    public Long getPackageHours() 
    {
        return packageHours;
    }

    public void setPackagePrice(BigDecimal packagePrice) 
    {
        this.packagePrice = packagePrice;
    }

    public BigDecimal getPackagePrice() 
    {
        return packagePrice;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setRoomType(Long roomType) 
    {
        this.roomType = roomType;
    }

    public Long getRoomType() 
    {
        return roomType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("imageUrl", getImageUrl())
            .append("hourlyPrice", getHourlyPrice())
            .append("packageHours", getPackageHours())
            .append("packagePrice", getPackagePrice())
            .append("status", getStatus())
            .append("description", getDescription())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("roomType", getRoomType())
            .toString();
    }
}
